package com.niuniu.rushdorm.service.impl;

import com.niuniu.rushdorm.mapper.StudentMapper;
import com.niuniu.rushdorm.pojo.entity.Student;
import com.niuniu.rushdorm.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Meng
 * 2022/11/24
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    StudentMapper studentMapper;
    @Override
    public Student getStudentByUid(Long uid) {
        return studentMapper.getStudentByUid(uid);
    }
}
